<h1>Interests</h1>
<a href="{$createLink}">Create new interest</a><br />
<table>
<tr>
	<th>ID</th>
	<th>Name</th>
	<th>Active</th>
	<th>Action</th>
</tr>
{foreach from=$interests item=interest key=key}
{strip}
   <tr class="{cycle values="even, odd"}">
      <td>{$interest.id}</td>
      <td><a href="{$editLink}?id={$interest.id}">{$interest.name}</a></td>
      <td>{$interest.active}</td>
      <td><a href="{$deleteLink}?id={$interest.id}">Delete</a></td>
   </tr>
{/strip}
{/foreach}
</table>